package com.example.mapper;

import com.example.pojo.Magazine;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MagazineMapper {
    Integer selectIdByMagazine(Magazine magazine);

    List<Magazine> selectMagazineListByMagazine(Magazine magazine);

    int updateIssnByMagazines(List<Magazine> magazineList);

    int updateDelFlagByMagazines(List<Magazine> magazineList);

    int update(Magazine magazine);
}
